package com.smartleanx.module.hrm.service.esign.service;

import com.alibaba.fastjson2.JSONObject;
import com.smartleanx.module.hrm.dal.dataobject.esign.ContractOrder;
import com.smartleanx.module.hrm.dal.dataobject.esign.ContractPackage;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2025-07-14
 */
public interface ContractPackageService {

    List<ContractPackage> selectList();


    ContractOrder generationOrder(Integer packageId, String orderSn, Integer loginId, Integer payNum);

    String pay(Integer payType, String orderSn, Integer loginId);


    List<JSONObject> bySelect();

    Integer usedContract(Long num,String tenantId);


    Boolean isUsed(Long num);

   JSONObject selectOneByContract();

    Integer cancelPay(String orderSn) ;

   Integer insert(JSONObject param);


    JSONObject select();



    Integer selectOrderStatus(String orderSn);
}


 